Skip to content

Conversation

golimix
Copy link

@golimix golimix commented Jul 1, 2023

AutoModel.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True).half().to('mps') 从而可以在macbook m1max 系列芯片上正确执行

golimix added 2 commits July 1, 2023 22:21
更新macbook pro 不能正常执行的代码逻辑
更新macbook m1max 使用说明
@duzx16
Copy link
Contributor

duzx16 commented Jul 4, 2023

默认的精度就是 fp16 的吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants